package com.pandorasoft.shop
/**
 * 
 * @author qintao
 * 商铺
 */
class Company {

	/*
	 * Default (injected) attributes of GORM
	 */
	//	Long	id
	String name
	String tel
	String location
	String description
	String status
	Date	dateCreated
	Date	lastUpdated

	//	static belongsTo	= []	// tells GORM to delete this object if the "parent" is deleted.
	
	static hasMany		= [shops : Shop]
	//	static mappedBy		= []

	static mapping = {
	}

	static constraints = { name() }

	/*
	 * Methods of the Domain Class
	 */
}
